<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.11.0">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>CheLive: CoreOpenGL: Класс TOpenGL</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<a name="TOpenGL"></a><h1 class="cio">Класс TOpenGL</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#%40Description">Описание</a></td><td><a class="section"  href="#%40Hierarchy">Иерархия</a></td><td><a class="section"  href="#%40Fields">Поля</a></td><td><a class="section"  href="#%40Methods">Методы</a></td><td>Свойства</td></tr></table>
<a name="%40Description"></a><h2 class="unit">Модуль</h2>
<p class="unitlink">
<a   href="CoreOpenGL.html">CoreOpenGL</a></p>
<h2 class="declaration">Объявления</h2>
<p class="declaration">
<code>type TOpenGL = class(TObject)</code></p>
<h2 class="description">Описание</h2>
<p>
OpenGL    </p>
<a name="%40Hierarchy"></a><h2 class="hierarchy">Иерархия</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="thisitem">TOpenGL</li></ul><h2 class="overview">Обзор</h2>
<a name="%40Fields"></a><h3 class="summary">Поля</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreOpenGL.TOpenGL.html#rc">rc</a></b>: HGLRC;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreOpenGL.TOpenGL.html#depthBits">depthBits</a></b>: Integer;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreOpenGL.TOpenGL.html#stencilBits">stencilBits</a></b>: Integer;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreOpenGL.TOpenGL.html#canvas">canvas</a></b>: <a   href="CoreMath.TVec2.html">TVec2</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreOpenGL.TOpenGL.html#caps">caps</a></b>: <a   href="CoreOpenGL.TOpenGLCaps.html">TOpenGLCaps</a>;</code></td>
</tr>
</table>
<a name="%40Methods"></a><h3 class="summary">Методы</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="CoreOpenGL.TOpenGL.html#Init">Init</a></b>(depth, stencil: Integer): Boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CoreOpenGL.TOpenGL.html#Clear">Clear</a></b>(color: Boolean = True; depth: Boolean = True; stencil: Boolean = True);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CoreOpenGL.TOpenGL.html#Begin2D">Begin2D</a></b>(canvasW: Single = 0; canvasH: Single = 0);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CoreOpenGL.TOpenGL.html#End2D">End2D</a></b>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <b><a   href="CoreOpenGL.TOpenGL.html#Create">Create</a></b>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <b><a   href="CoreOpenGL.TOpenGL.html#Destroy">Destroy</a></b>; override;</code></td>
</tr>
</table>
<h2 class="description">Описание</h2>
<h3 class="detail">Поля</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="rc"></a><code><b>rc</b>: HGLRC;</code></td>
</tr>
<tr><td colspan="2">
<p>
Контекст воспроизведения</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="depthBits"></a><code><b>depthBits</b>: Integer;</code></td>
</tr>
<tr><td colspan="2">
<p>
глубина буфера глубины</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="stencilBits"></a><code><b>stencilBits</b>: Integer;</code></td>
</tr>
<tr><td colspan="2">
<p>
глубина стенцильного буфера</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="canvas"></a><code><b>canvas</b>: <a   href="CoreMath.TVec2.html">TVec2</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
размеры холста для рисования (задаются в <a class="normal"  href="CoreOpenGL.TOpenGL.html#Begin2D">TOpenGL.Begin2D</a>)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="caps"></a><code><b>caps</b>: <a   href="CoreOpenGL.TOpenGLCaps.html">TOpenGLCaps</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
характеристики видео-адаптера</p>
</td></tr>
</table>
<h3 class="detail">Методы</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Init"></a><code>function <b>Init</b>(depth, stencil: Integer): Boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
Инициализация (должна быть вызвана после <a class="normal"  href="CoreWindow.TWindow.html#Init">TWindow.Init</a>)   </p>
<h6 class="description_section">Параметры</h6>
<dl class="parameters">
<dt>depth</dt>
<dd>глубина буфера глубины</dd>
<dt>stencil</dt>
<dd>глубина стенцильного буфера</dd>
</dl>
<h6 class="description_section">Возвращаемые значения</h6>
<p class="return">True если инициализация прошла успешно</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Clear"></a><code>procedure <b>Clear</b>(color: Boolean = True; depth: Boolean = True; stencil: Boolean = True);</code></td>
</tr>
<tr><td colspan="2">
<p>
Очистка буферов   </p>
<h6 class="description_section">Параметры</h6>
<dl class="parameters">
<dt>color</dt>
<dd>очистить цветовой буфер</dd>
<dt>depth</dt>
<dd>очистить буфер глубины</dd>
<dt>stencil</dt>
<dd>очистить стенцильный буфер</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Begin2D"></a><code>procedure <b>Begin2D</b>(canvasW: Single = 0; canvasH: Single = 0);</code></td>
</tr>
<tr><td colspan="2">
<p>
Начать вывод 2D графики  </p>
<h6 class="description_section">Параметры</h6>
<dl class="parameters">
<dt>canvasW</dt>
<dd>ширина холста для рисования</dd>
<dt>canvasH</dt>
<dd>высота холста для рисования</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="End2D"></a><code>procedure <b>End2D</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Окончить вывод 2D графики</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Destroy"></a><code>destructor <b>Destroy</b>; override;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Сгенерировал <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.11.0</a> дата/время 2010-05-02 13:43:29</em>
</span>
</body></html>
